import type { UserConfig } from "vite";

/**
 * 公共配置
 */
const commonConfig: UserConfig = {
    build: {
        chunkSizeWarningLimit: 2000,
        reportCompressedSize: false,
        sourcemap: false,
    },
};

/**
 * 取得公共配置
 */
export const getCommonConfig = () => commonConfig;
/**
 * 取得公共配置
 * @description async 版本
 */
export const getCommonConfigAsync = async () => commonConfig;
